package com.ruoyi.business.dao;

import com.ruoyi.business.domain.InventoryClass;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * InventoryClassDao接口
 *
 * @author liutietou
 * @since 1.0 2025-06-22
 */
@Repository
public interface InventoryClassDao extends JpaRepository<InventoryClass, String>, JpaSpecificationExecutor<InventoryClass> {

        InventoryClass  getInventoryClassByCinvccode(String  cinvcode);

        List<InventoryClass> getInventoryClassesByCinvccodeStartsWithAndIinvcgrade(String cinvcode, Integer iinvcgrade);

}
